﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Net;
using System.Threading;

namespace Greyhound
{
    public partial class MainWindow : Form
    {
        MainWindow Form1 = null;
        public MainWindow()
        {
            InitializeComponent();
            Form1 = this;
        }

        private void GoButton_Click(object sender, EventArgs e)
        {
            Downloader down = new Downloader();
            down.downloadFile(Convert.ToString(AddressBox.Text), Form1);
        }
        public void setStatus()
        {
            StatusLabel.Text = "Downloaded";
        }

        private void parsebutton_Click(object sender, EventArgs e)
        {
            ;
        }

        private void DrawButton_Click(object sender, EventArgs e)
        {
            FusionWindow window = new FusionWindow();
            window.Show();
            window.FusionDraw();
        }
    }
}
